package com.edu.order.mapper;

import com.edu.api.entity.order.PayOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Entity com.edu.api.entity.order.PayOrder
 */
@Repository
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    Integer insertPayOrder(@Param("OrderNo") String OrderNo,@Param("userId") Integer userId,
        @Param("productId") Integer productId,@Param("productName")String productName,
        @Param("amount") BigDecimal amount,@Param("currency") String currency,@Param("channel") String channel,@Param("status") Byte status,
        @Param("client_ip")String client_ip,@Param("createTime") Date createTime,
        @Param("goodsOrderNo")String goodsOrderNo);

}




